import request from "@/utils/request";
/** 查询通讯录群列表 */
export function getMessagingGrouplist(query) {
  return request({
    url: `/cim/group/list`,
    method: "get",
    params: query,
  });
}
/** 修改群消息 */
export function getUpdategGroup(query) {
  return request({
    url: `/cim/group/edit`,
    method: "post",
    data: query,
  });
}
// 机构人员管理列表
export function getContactsList(params) {
  return request({
    url: `/cim/limit/contacts/list`,
    method: "get",
    params,
  });
}
// 机构人员新增
export function limitAdd(data) {
  return request({
    url: `/cim/contacts/limit/add`,
    method: "post",
    data,
  });
}
// 删除
export function limitDel(params) {
  return request({
    url: `/cim/contacts/limit/del`,
    method: "post",
    params,
  });
}
// 详情
export function limitDetail(params) {
  return request({
    url: `/cim/limit/contacts/detail`,
    method: "get",
    params,
  });
}
// 编辑
export function limitEdit(data) {
  return request({
    url: `/cim/contacts/limit/edit`,
    method: "post",
    data,
  });
}
